<div>

  <%= error_messages_for 'user' %>

  <fieldset>
    <legend>Editar meus dados</legend>

    <% form_tag :action => 'update', :id => @user do%>
      
	  <%= render :partial => 'form'%>
	  <label>&nbsp;</label>
      <%= submit_tag "Salvar"%>
    
    <% end %>
  </fieldset>
  <p><%= link_to 'Voltar', :action => 'show' %></p>
</div>